package online.afeibaili.storebackendframework.model

import jakarta.persistence.Entity
import jakarta.persistence.Id
import jakarta.persistence.Table


/**
 * 购物车类
 *
 *@author AfeiBaili
 *@version 2025/10/20 13:57
 */

@Entity
@Table(name = "shopping_cart")
class ShoppingCartEntity() {
    @Id
    var accountId: String = ""
    var products: String = ""

    constructor(accountId: String, products: String) : this() {
        this.accountId = accountId
        this.products = products
    }
}